Recent searches

in

label

On this page

This key defines the name of a commit template, which appears in the dropdown menu when saving changes.

The value is a string that specifies the label text for the template.

Appears in

└── commit_templates
    └── [*]
        └── label

Type

string

Examples

In this example, we have configured a commit template with the label "Default".

Copied to clipboard
commit_templates:
  - label: Default
    template_string: '{commit_type}: {message|trim}'
{
  "commit_templates": [
    {
      "label": "Default",
      "template_string": "{commit_type}: {message|trim}"
    }
  ]
}
Open in a new tab